package com.newbingo.dao.imple;

import java.util.List;

import com.newbingo.entity.Affiche;
import com.newbingo.util.Pager;

public interface IAfficheDAO {

	// property constants
	public static final String TITLE = "title";
	public static final String CONTENTS = "contents";
	public static final String TYPE="type";

	public abstract void save(Affiche transientInstance);
	
	public abstract void update(Affiche transientInstance);

	public abstract void delete(Affiche persistentInstance);

	public abstract Affiche findById(Integer id);

	public abstract List findByExample(Affiche instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByTitle(Object title);

	public abstract List findByContents(Object contents);
	
	public abstract List findByType(Object type);

	public abstract List findAll();

	public abstract Affiche merge(Affiche detachedInstance);

	public abstract void attachDirty(Affiche instance);

	public abstract void attachClean(Affiche instance);
	
	public abstract Pager findByPage(int start,int limit,Object type);
	


}